load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("//bazel:skia_rules.bzl", "exports_files_legacy")

licenses(["notice"])

exports_files_legacy()

go_library(
    name = "recreate_skps_lib",
    srcs = ["recreate_skps.go"],
    importpath = "go.skia.org/skia/infra/bots/task_drivers/recreate_skps",
    visibility = ["//visibility:private"],
    deps = [
        "@org_skia_go_infra//go/depot_tools",
        "@org_skia_go_infra//go/exec",
        "@org_skia_go_infra//go/gerrit",
        "@org_skia_go_infra//go/git/git_common",
        "@org_skia_go_infra//go/sklog",
        "@org_skia_go_infra//promk/go/pushgateway",
        "@org_skia_go_infra//task_driver/go/lib/auth_steps",
        "@org_skia_go_infra//task_driver/go/lib/checkout",
        "@org_skia_go_infra//task_driver/go/lib/gerrit_steps",
        "@org_skia_go_infra//task_driver/go/lib/os_steps",
        "@org_skia_go_infra//task_driver/go/td",
        "@org_skia_go_infra//task_scheduler/go/types",
    ],
)

go_binary(
    name = "recreate_skps",
    embed = [":recreate_skps_lib"],
    visibility = ["//visibility:public"],
)
